package com.acme.dao.security;

import java.util.List;

import com.acme.entity.User;
import com.acme.entity.security.DBAuthority;

public interface DBUserDAO
	{
	public List<User> getAllUsers();
	public User getUserByID(int userID);
	public User getUserByUsername(String username);
	public List<DBAuthority> getPermissionsByUser(User user);
	public void addAuthority(DBAuthority authority);
	void removeAuthority(int authID);
	}
